package com.sy.dto;

import com.sy.entity.Commit;
import com.sy.entity.Partner;

import java.util.List;

public class PartnerDto {
    private Integer driSchoolId;
    private String driName;
    private List<Commit> commitList;
    private Partner partner;

    public PartnerDto() {
    }

    public PartnerDto(Integer driSchoolId, String driName, List<Commit> commitList, Partner partner) {
        this.driSchoolId = driSchoolId;
        this.driName = driName;
        this.commitList = commitList;
        this.partner = partner;
    }

    public Integer getDriSchoolId() {
        return driSchoolId;
    }

    public void setDriSchoolId(Integer driSchoolId) {
        this.driSchoolId = driSchoolId;
    }

    public String getDriName() {
        return driName;
    }

    public void setDriName(String driName) {
        this.driName = driName;
    }

    public List<Commit> getCommitList() {
        return commitList;
    }

    public void setCommitList(List<Commit> commitList) {
        this.commitList = commitList;
    }

    public Partner getPartner() {
        return partner;
    }

    public void setPartner(Partner partner) {
        this.partner = partner;
    }

    @Override
    public String toString() {
        return "PartnerDto{" +
                "driSchoolId=" + driSchoolId +
                ", driName='" + driName + '\'' +
                ", commitList=" + commitList +
                ", partner=" + partner +
                '}';
    }
}
